package liangtWorkSpace;

/**
 * @ClassName InterfaceMain
 * @Description : 功能说明
 * @Author : LiangT
 * @Date : 2020/4/14 11:51
 */
public class InterfaceMain {
    public static void main(String[] args) {
        System.out.println();
//        say(new Speck().getString());
        say(()->{
            System.out.println("这是个测试");
        });
    }

    public static void say(String o){
        System.out.println("这个是："+o);
    }
    public static void say(InterfaceTest interfaceTest){
        interfaceTest.say();
        System.out.println("这个是：");
    }
}
